//创建数据库表结构
const mongoose = require('mongoose')
let Schema = mongoose.Schema

let userSchema = new Schema({
  userName: String,
  password: String,
  create_time: {type: Date, default: Date.now()},
  last_time: {type: Date, default: Date.now()},
  status: {type: Number, default: 1}
})

module.exports = userSchema
